package com.wuyou.feign;
import com.wuyou.domain.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * ClassName ItemHouseInfo
 * Description
 * Author chenxy9606@163.com
 * Date 2022/10/2 22:47
 * Version 1.0
 **/
@FeignClient("worryfree-house-info-service")
public interface ItemHouseInfo {
    @PostMapping("/house/getHouseInfoById/{id}")
    Result getHouseInfoById(@PathVariable("id") Long id);
}
